<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="ui" uri="http://com.am.tag" %>
<%@ include file="../common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=GBK"/>
	<title>病历详情</title>
	<style type="text/css">
		#td{
			text-align:center;
			border:1px solid #D1BD94;
		}
		
		#general{
			BORDER-RIGHT: medium none;
			BORDER-TOP: medium none;
			BORDER-LEFT: medium none; COLOR: rgb(255,0,0);
			BORDER-BOTTOM: rgb(192,192,192) 1px solid;
			text-align:center;
		}
		
</style>

 <!-- 插入打印控件 -->
      <OBJECT  ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D075-4BE2-87FE-057188254255"
                  codebase="jatoolsPrinter.cab#version=8,6,0,0"></OBJECT>  
      <script>
       function doPrint(how) { 
    		var myDoc = {
        	documents: document,
        	copyrights: '杰创软件拥有版权  www.jatools.com'
   		 }; 
   		 if (how == '打印预览...') 
        	 jatoolsPrinter.printPreview(myDoc); // 打印预览
    	 else if (how == '打印...') 
         	jatoolsPrinter.print(myDoc, true); // 打印前弹出打印设置对话框
    	else
         	jatoolsPrinter.print(myDoc, false); // 不弹出对话框打印
		}
      </script>
</head>

<body style="background-color: #9099ae;">
	<div style="padding-left:860px;padding-top:20px;"><input type="button"value="打印预览" onclick="doPrint('打印预览...')"><img src="${path }/images/common/Print.png"></img></div>
	<center>	
			<div id="page1" style="width:480px;height:580px;background-color:white;">
					<table>
						<tr> 
							<td rowspan="2" colspan="4" align="center"><span style="font-size:30;font-weight:bold">门诊病历</span></td>
						</tr>
					</table>
					
						<table style="margin-top:30px">
							<tr>
								<td colspan="2">姓名:<input type="text" id="general" value="廖志堋" /></td>
								<td colspan="2">性别:<input type="text" id="general" value="男" /></td>
								<td colspan="2">年龄:<input type="text" id="general" value="22"/></td>
								
							</tr>
							
							<tr>
								<td colspan="2">地址:<input type="text" id="general" value="校本部 6-507" /></td>
								<td colspan="2">民族:<input type="text" id="general" value="汉"/></td>
								<td colspan="2">电话:<input type="text" id="general" value="15820264604"/></td>
							</tr>
							
							<tr>
								<td colspan="3">结诊金额:<input type="text" id="general" value="10.03元" /></td>
								<td colspan="3">就诊日期:<input type="text" id="general" value="2014-3-26 15:11"/></td>
								
							</tr>
					</table>
					
					<table style="margin-top:30px">
						<tr>
							<td colspan="2">诊断描述:</td>
							<td colspan="4"><input type="text" id="general" value="好多好多这个那个这些那些还有那些这些总之好多好多啦" style="text-align:left;width:400px"/></td>
						</tr>
						
					</table>
					
					<table  style="margin-top:30px;border:1px solid #D1BD94;">
						<tr>
							<td style="width:300px" id="td">处方</td>
							<td style="width:100px" id="td">单位</td>
							<td style="width:100px"id="td">金额</td>
						</tr>
						<tr>
							<td style="width:300px" id="td">(尤佳)啊托伐AD软胶丸</td>
							<td style="width:100px" id="td">瓶</td>
							<td style="width:100px" id="td">￥10.49</td>
						</tr>
						
						<tr>
							<td style="width:300px" id="td">(尤佳)啊托伐AD软胶丸</td>
							<td style="width:100px" id="td">盒</td>
							<td style="width:100px" id="td">￥2068.00</td>
						</tr>
						
						<tr>
							<td style="width:300px" id="td">G银杏药片</td>
							<td style="width:100px" id="td">盒</td>
							<td style="width:100px" id="td">￥180.00</td>
						</tr>
						
						<tr>
							<td style="width:300px" id="td">阿莫西林胶囊</td>
							<td style="width:100px" id="td">瓶</td>
							<td style="width:100px" id="td">￥219.79</td>
						</tr>
					</table>
					
					<table style="margin-top:30px;border:1px solid #D1BD94;">
						<tr>
							<td style="width:300px" id="td">输液</td>
							<td style="width:100px" id="td">单位</td>
							<td style="width:100px"id="td">金额</td>
						</tr>
						<tr>
							<td style="width:300px" id="td">注射用头孢唑啉钠</td>
							<td style="width:100px" id="td">瓶</td>
							<td style="width:100px" id="td">￥1.14</td>
						</tr>
					</table>
					
					<div style="position:absolute;padding-left:50px;padding-top:90px;">就诊医生:<input type="text" id="general" value="蔡荣杰"/></div>
			</div>
	</center>		
</body>
</html>

